﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class yonhu
    {
        private string name;
        private int zhanghao;
        private int mima;
    public string Name {
            get { return this.name; }
            set { this.name = value; }
        }
        public int Zhanghao
        {
            get { return this.zhanghao; }
            set { this.zhanghao = value; }
        }
        public int Mima
        {
            get { return this.mima; }
            set { this.mima = value; }
        }
        public void SetMima(int value)
        {
            this.mima = value;
        }
        public void Introduce()
        {
            Console.WriteLine("我叫{0},我的账号是{1},我的密码是{2}",this.Name,this.Zhanghao,this.Mima);
        }
    }
}
